package com.aaa.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: 宋文森
 * @Date: 2021/02/21/15:35
 * @Description: 合同到期提醒实体类(租出合同，租入合同)
 */
@Data
@Component
public class ContractReminder implements Serializable {

    /**
     * contractId             合同编号
     * assetId                房产编号
     * companyName            房产管理人
     * contractEndDate        合同到期时间
     * contractStatus         合同状态
     * method                 支付方式
     * contact                承租方
     *
     * lessee                 租入合同表的承租方
     * lessor                 租入合同表的房产管理人
     *
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("contract_id")
    private String contractId;
    @TableField("asset_id")
    private String assetId;
    @TableField("company_name")
    private String companyName;
    @TableField("company_id")
    private String companyId;
    @TableField("contract_end_date")
    private Date   contractEndDate;
    @TableField("contract_status")
    private String contractStatus;
    @TableField("method")
    private String method;
    @TableField("contact")
    private String contact;
    private String lessee;
    private String lessor;
}
